export default [
  {
    path: '/',
    redirect: '/wecome',
    // access: 'readArticle',
  },
  {
    path: '/wecome',
    component: '@/pages/Wecome',
    name: '首页',
    icon: 'user',
    // redirect: '/wecome',
    // access: 'readArticle',
  },
  {
    path: '/game',
    name: '游戏',
    icon: 'user',
    // redirect: '/dark-please-close-your-eyes',
    routes: [
      {
        path: 'dark-please-close-your-eyes',
        component: '@/pages/DarkPleaseCloseYourEyes',
        name: '天黑请闭眼',
      },
      {
        path: 'dark-please-close-your-eyes/form',
        component: '@/pages/DarkPleaseCloseYourEyes/Form',
      },
    ],
  },
];
